package cn.iocoder.yudao.module.polling.convert.pollingcategoriesrelevance;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import cn.iocoder.yudao.module.polling.controller.admin.pollingcategoriesrelevance.vo.PollingCategoriesRelevanceCreateReqVO;
import cn.iocoder.yudao.module.polling.controller.admin.pollingcategoriesrelevance.vo.PollingCategoriesRelevanceExcelVO;
import cn.iocoder.yudao.module.polling.controller.admin.pollingcategoriesrelevance.vo.PollingCategoriesRelevanceRespVO;
import cn.iocoder.yudao.module.polling.controller.admin.pollingcategoriesrelevance.vo.PollingCategoriesRelevanceUpdateReqVO;
import cn.iocoder.yudao.module.polling.dal.dataobject.pollingcategoriesrelevance.PollingCategoriesRelevanceDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 巡检标准适用类别关联 Convert
 *
 * @author 左达成
 */
@Mapper
public interface PollingCategoriesRelevanceConvert {

    PollingCategoriesRelevanceConvert INSTANCE = Mappers.getMapper(PollingCategoriesRelevanceConvert.class);

    PollingCategoriesRelevanceDO convert(PollingCategoriesRelevanceCreateReqVO bean);

    PollingCategoriesRelevanceDO convert(PollingCategoriesRelevanceUpdateReqVO bean);

    PollingCategoriesRelevanceRespVO convert(PollingCategoriesRelevanceDO bean);

    List<PollingCategoriesRelevanceRespVO> convertList(List<PollingCategoriesRelevanceDO> list);

    PageResult<PollingCategoriesRelevanceRespVO> convertPage(PageResult<PollingCategoriesRelevanceDO> page);

    List<PollingCategoriesRelevanceExcelVO> convertList02(List<PollingCategoriesRelevanceDO> list);

}
